<div ng-controller="IsvstoreCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/isvstore/list">{{'store'|translate}}</a></li>
        <li>列表
            <a href="#/store/add" ng-show="!storeList.length" class="sui-btn btn-primary">+{{'add_new'|translate}}</a>
        </li>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'logo'|translate}}</th>
                <th>{{'seller Name'|translate}}</th>
                <th>{{'address'|translate}}</th>
                <th>{{'组织编号'|translate}}</th>
                <th>{{'mobile'|translate}}</th>
                <th>{{'status'|translate}}</th>
                <th>{{'created_at'|translate}}</th>
                <th>{{'用户'|translate}}</th>
                <th>详情</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in storeList">
                <td><img ng-src="{{list.logo_img}}" width="100" /></td>
                <td>{{list.name}}</td>
                <td>{{list.address}}</td>
                <td>{{list.partner_id}}</td>
                <td>
                    {{list.phone}}
                </td>
                <td>
                    {{list.status}}
                </td>
                <td>
                    {{list.created_at}}
                </td>
                <td>
                    <wxinfo ng-model="list.partner.creator_id" userid="{{list.partner.creator_id}}"></wxinfo>
                </td>
                <td>
                    <a class="sui-btn btn-danger" href="#/authrize/list?user_id={{list.partner.creator_id}}">{{'查看用户'|translate}}</a>
                    <a class="sui-btn btn-primary" href="#/isvstore/info?store_id={{list.store_id}}">{{'info'|translate}}</a>
                    <send-mb-msg user-id="list.partner.creator_id"></send-mb-msg>
                    <a class="sui-btn btn-primary" href="#/isvstore/groupadd?partner_id={{list.partner_id}}">{{'分账设置'|translate}}</a>
                </td>
            </tr>
        </tbody>
    </table>
    <pager page-no="1" page-size="page_size" total="storeTotal" get-data="getstoreList(pageNo)"></pager>
</div>